<div class=" form-horizontal modal-content">

    <div class="modal-header">
        <h4 class="modal-title">模板信息</h4>
    </div>

    <div class="modal-body">
        <div class="row">

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">
				模板名称
			</label>
                <div class="col-sm-8 col-xs-12">
                    <input type="text" class="form-control" placeholder="模板名称" ng-model="template.templete_name" disabled>
                </div>
                <div class="col-sm-2 mt10">
                    <font face="Courier" class="text-danger"></font>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">
				模板编号
			</label>
                <div class="col-sm-8 col-xs-12">
                    <input type="text" class="form-control" placeholder="模板编号" ng-model="template.templete_code" disabled>
                </div>
                <div class="col-sm-2 mt10">
                    <font face="Courier" class="text-danger"></font>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">
				模板标题
			</label>
                <div class="col-sm-8 col-xs-12">
                    <input type="text" class="form-control" placeholder="模板标题" ng-model="template.templete_title">
                </div>
                <div class="col-sm-2 mt10">
                    <font face="Courier" class="text-danger"></font>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 col-xs-12 control-label">模板图片</label>
                <div class="col-sm-8 col-xs-12 ">
                    <img ng-src="{{template.templete_img}}" width="300" height="200" ng-model="template.templete_img">
                    <input type="file" nv-file-select uploader="baseinfo.imageshow.uploader1" />
                    <br>
                    <ul class="list-group">
                        <li class="list-group-item" ng-repeat="item in baseinfo.imageshow.uploader1.queue">
                            文件名: <span ng-bind="item.file.name"></span>
                            <button type="button" class="btn btn-default btn-xs" ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
                            <div class="progress mt10">
                                <div class="progress-bar" role="progressbar" ng-style="{ 'width': baseinfo.imageshow.uploader1.progress + '%' }"></div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-2 mt10">
                    <font face="Courier" class="text-danger"></font>
                </div>
            </div>

        </div>
    </div>

    <div class="modal-footer">
        <button type="button" class="btn btn-success" ng-click="save()">保存</button>
    </div>

</div>